package com.ruoyi.trade.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseDomain;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易对信息对象 t_pairs
 *
 * @author sunye
 * @date 2024-09-19
 */
public class TPairs extends BaseDomain
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value ="id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "交易对名称")
    @Excel(name = "交易对名称")
    private String pairsName;

    @ApiModelProperty(value = "冻结状态")
    @Excel(name = "冻结状态")
    private String state;

    @ApiModelProperty(value = "类型")
    @Excel(name = "类型")
    private String type;

    @ApiModelProperty(value = "logo")
    @Excel(name = "logo")
    private String image;

    @ApiModelProperty(value = "排序")
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPairsName(String pairsName)
    {
        this.pairsName = pairsName;
    }

    public String getPairsName()
    {
        return pairsName;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pairsName", getPairsName())
            .append("state", getState())
            .append("type", getType())
            .append("image", getImage())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
